<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="viewport" content="width=device-width"/>
    <title>BootStrap Table使用</title>
    <script th:src="@{/js/jquery-1.9.1.min.js}"></script>
    <script th:src="@{/js/fenYe.js}"></script>

    <script th:src="@{/js/bootstrap.js}"></script>
    <link th:href="@{/css/bootstrap.css}" rel="stylesheet"/>

    <script th:src="@{/js/bootstrap-table.js}"></script>
    <link th:href="@{/css/bootstrap-table.css}" rel="stylesheet"/>

    <link th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
    <script th:src="@{/js/bootstrap-table-zh-CN.js}"></script>

</head>
<body>
<form id="formSearch" method="post" action="/user/add" class="form-horizontal">
    <input type="hidden" name="id" th:value="${user.id}">
    <div class="form-group" style="margin-top:15px">
        <label class="control-label col-sm-1" >姓名</label>
        <div class="col-sm-3">
            <input type="text" name="username" class="form-control" th:value="${user.username}" >
        </div>
    </div>
    <div class="form-group" style="margin-top:15px">
        <label class="control-label col-sm-1" >电话</label>
        <div class="col-sm-3">
            <input type="text" name="phone" class="form-control" th:value="${user.phone}" >
        </div>
    </div>
    <div class="form-group" style="margin-top:15px">
        <label class="control-label col-sm-1" >邮箱</label>
        <div class="col-sm-3">
            <input type="text" name="email" class="form-control"  th:value="${user.email}">
        </div>
    </div>
    <div class="form-group" style="margin-top:15px">
        <label class="control-label col-sm-1" >通讯组</label>
        <div class="col-sm-3">
            <input type="text" name="type" class="form-control"  th:value="${user.type}">
        </div>
    </div>
    <div class="col-sm-4" style="text-align:left;">
        <button type="submit" style="margin-left:50px"  class="btn btn-primary">修改</button>
    </div>
</form>

</body>
</html>